<?php declare(strict_types=1);

return [
    // 管理员相关
    'admin.admin.index'              => __DIR__ . '/../../application/controller/admin/admin/index.php',
    'admin.admin.detail'             => __DIR__ . '/../../application/controller/admin/admin/detail.php',
    'admin.admin.add'                => __DIR__ . '/../../application/controller/admin/admin/add.php',
    'admin.admin.edit'               => __DIR__ . '/../../application/controller/admin/admin/edit.php',
    'admin.admin.del'                => __DIR__ . '/../../application/controller/admin/admin/del.php',
    'admin.admin.multi'              => __DIR__ . '/../../application/controller/admin/admin/multi.php',
    
    // 角色相关
    'admin.role.index'               => [
        'path'       => __DIR__ . '/../../application/controller/admin/role/index.php',
        'permission' => 'allow',
    ],
    
    'admin.role.detail'              => __DIR__ . '/../../application/controller/admin/role/detail.php',
    'admin.role.add'                 => __DIR__ . '/../../application/controller/admin/role/add.php',
    'admin.role.edit'                => __DIR__ . '/../../application/controller/admin/role/edit.php',
    'admin.role.del'                 => __DIR__ . '/../../application/controller/admin/role/del.php',
    'admin.role.resource'            => [
        'path'       => __DIR__ . '/../../application/controller/admin/role/resource.php',
        'permission' => 'allow',
    ],
    
    // 菜单资源相关
    'admin.resource.index'           => __DIR__ . '/../../application/controller/admin/resource/index.php',
    'admin.resource.detail'          => __DIR__ . '/../../application/controller/admin/resource/detail.php',
    'admin.resource.add'             => __DIR__ . '/../../application/controller/admin/resource/add.php',
    'admin.resource.edit'            => __DIR__ . '/../../application/controller/admin/resource/edit.php',
    'admin.resource.del'             => __DIR__ . '/../../application/controller/admin/resource/del.php',
    
    // 操作日志相关
    'admin.log.index'                => [
        'path'       => __DIR__ . '/../../application/controller/admin/log/index.php',
        'permission' => 'allow',
    ],
    'admin.log.detail'               => __DIR__ . '/../../application/controller/admin/log/detail.php',
];